﻿using KeYan.Service.Common.Enum;
using KeYan.Service.IRepository.Shop;
using KeYan.Service.IService.Shop;
using KeYan.Service.Model.Shop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KeYan.Service.Service.Shop
{
    public class ServeService : ServeIService
    {
        private readonly ServeIRepository _repository;
        public ServeService(ServeIRepository repository)
        {
            _repository = repository;
        }
        public Task<Resilt<int>> AddShopping(int ServeId, ServeInfo serveInfo)
        {
            return _repository.AddShopping(ServeId, serveInfo);
        }
    }
}
